package com.iflysse.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.iflysse.service.LabelService;
import com.iflysse.vo.AjaxResult;

@RestController
public class LabelController {

	@Autowired
	private LabelService labelService;
	
	@PostMapping("/teacherCourse/queryLabelList")
	public Object getAllLabels() {		
		return  AjaxResult.success(labelService.getAllLabels()) ;
	}
}
